#include "WarGameLib.h"
#include "BattleArena.h"



enum KBMoveFlags
{
	KB_MOVE_FWD = 1,
	KB_MOVE_BACK = 2,
	KB_MOVE_RT = 4,
	KB_MOVE_LT = 8,
	KB_ROT_LEFT = 16,
	KB_ROT_RIGHT = 32,
	KB_ROT_UP = 64,
	KB_ROT_DOWN = 128
};

class TankWarsWindow : public wgWindow
{
protected:
	BattleArena* arena;
	wgTimer timer;
	int keyboardFlags;
	void Update(float frameTime);
	virtual void Render();
	virtual void HandleKeyboard(unsigned char, int, int);
	virtual void HandleKeyboardSpecial(int, int, int);
	
public:
	TankWarsWindow();
	~TankWarsWindow();
};